python tkinter listbox click event

48

python tkinter listbox click event -

main = Tk()

def clickEvent:
  #insert code that will execute here
  
lb = Listbox(main)
lb.bind('<<ListboxSelect>>', clickEvent)

Comments

Submit
0 Comments